package com.tpp.threat_perception_platform.permission;

public enum PermissionEnum {
    // HostService
    HOST_SAVE("host:save"),
    HOST_LIST("host:list"),

    // LoginService
    LOGIN_DELETE("login:delete"),
    LOGIN_CHECK("login:check"),

    // RabbitService
    RABBIT_CHECK("rabbit:check"),

    // RoleService
    ROLE_CHECK("role:check"),

    // UserService
    USER_MANAGE("user:manage");

    private final String permission;

    PermissionEnum(String permission) {
        this.permission = permission;
    }

    public String getPermission() {
        return permission;
    }
}